<?PHP
include_once("../classes.php");
@session_start();
$_chat	= new chat();
$_chat->id			= $_GET["id"];


$sair = $_chat->sair();

if($sair == true){
header("Location: ../includes/usuarios.php?vendedor=".$_GET["vendedor"]."");
}else{
header("Location: ../includes/usuarios.php?vendedor=".$_GET["vendedor"]."&erro=1");
}

?>